package pl.edu.agh.ssm.monitor.data;

public class RTSPPacket {

	/* General fields*/
	private RTSPPacketType type;
	private String typeAttr = null;
	private String rtspVersion = null;
	private long cSeq = 0;
	private long sessionID = 0;
	private String userAgent = null;
	
	/* DESCRIBE specific fields */
	private String accept;
	private String bandwidth;
	
	/* SETUP specific fields */
	private String transportProtocol;
	private String transportType;
	private int clientRTPPort;
	private int clientRTCPPort;
	
	/* PLAY specific fields*/
	private String timeType;
	private String timeRange;
	
	/* */	
	private SessionDescription sdp;
	private RTSPAnswer answer;
	
	/* Full packet text */
	private String fullPacket;
	private String packetContent;
	
	public RTSPPacketType getType() {
		return type;
	}
	public void setType(RTSPPacketType type) {
		this.type = type;
	}
	public String getTypeAttr() {
		return typeAttr;
	}
	public void setTypeAttr(String typeAttr) {
		this.typeAttr = typeAttr;
	}
	public String getRtspVersion() {
		return rtspVersion;
	}
	public void setRtspVersion(String rtspVersion) {
		this.rtspVersion = rtspVersion;
	}
	public long getCSeq() {
		return cSeq;
	}
	public void setCSeq(long seq) {
		cSeq = seq;
	}
	public long getSessionID() {
		return sessionID;
	}
	public void setSessionID(long sessionID) {
		this.sessionID = sessionID;
	}
	public String getUserAgent() {
		return userAgent;
	}
	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}
	public String getAccept() {
		return accept;
	}
	public void setAccept(String accept) {
		this.accept = accept;
	}
	public String getBandwidth() {
		return bandwidth;
	}
	public void setBandwidth(String bandwidth) {
		this.bandwidth = bandwidth;
	}
	public String getTransportProtocol() {
		return transportProtocol;
	}
	public void setTransportProtocol(String transportProtocol) {
		this.transportProtocol = transportProtocol;
	}
	public String getTransportType() {
		return transportType;
	}
	public void setTransportType(String transportType) {
		this.transportType = transportType;
	}
	public int getClientRTPPort() {
		return clientRTPPort;
	}
	public void setClientRTPPort(int clientRTPPort) {
		this.clientRTPPort = clientRTPPort;
	}
	public int getClientRTCPPort() {
		return clientRTCPPort;
	}
	public void setClientRTCPPort(int clientRTCPPort) {
		this.clientRTCPPort = clientRTCPPort;
	}
	public String getTimeType() {
		return timeType;
	}
	public void setTimeType(String timeType) {
		this.timeType = timeType;
	}
	public String getTimeRange() {
		return timeRange;
	}
	public void setTimeRange(String timeRange) {
		this.timeRange = timeRange;
	}
	public SessionDescription getSdp() {
		return sdp;
	}
	public void setSdp(SessionDescription sdp) {
		this.sdp = sdp;
	}
	public RTSPAnswer getAnswer() {
		return answer;
	}
	public void setAnswer(RTSPAnswer answer) {
		this.answer = answer;
	}
	
	public String getFullPacket() {
		return fullPacket;
	}
	public void setFullPacket(String fullPacket) {
		this.fullPacket = fullPacket;
	}
	public String getPacketContent() {
		return packetContent;
	}
	public void setPacketContent(String packetContent) {
		this.packetContent = packetContent;
	}
	
}
